package com.mingqijia.gassafety.db.entity.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class RecordVO {

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "通知开始时间范围-开始")
    private String startTimeStart;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "通知开始时间范围-结束")
    private String startTimeEnd;

    @ApiModelProperty(value = "通知对象(户名、户号、客户信息)")
    private String noticeObject;

    @ApiModelProperty(value = "规则名称")
    private String strategyName;

    @ApiModelProperty(value = "规则类型")
    private Integer strategyType;

    @ApiModelProperty(value = "状态, 0执行中 1发送完成")
    private Integer status;

    @ApiModelProperty("页码")
    private String spId;

    private List<Integer> consumerIds;

    @ApiModelProperty(value = "通知开始时间 ")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startTime;

    @ApiModelProperty(value = "通知结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endTime;

    @ApiModelProperty(value = "触发规则id")
    private Integer strategyId;

    @ApiModelProperty(value = "触发规则名")
    private String ruleName;

    @ApiModelProperty(value = "策略对象类型，0所有客户 1按照行业选择 2按照客户选择")
    private Integer strategyObj;

    //策略对象类型值
    private String strategyObjValues;

    @ApiModelProperty(value = "设备号")
    private String iMEI;

    @ApiModelProperty(value = "当前任务唯一识别码")
    private String taskIdentificationCode;


    @ApiModelProperty(value = "统计数据")
    private Integer sum;

    @ApiModelProperty(value = "发送结果：0发送成功，1发送失败 2呼叫中（外呼）")
    private Integer sendResult;

    @ApiModelProperty(value = "通知类型： 1短信 2微信 3外呼")
    private Integer sendType;

    @ApiModelProperty(value = "用户id")
    private Integer consumerId;
}
